{% if is_connect and 'linkedin'|member:identity_types %}
    <a id="{{ #lnkddis }}" href="#disconnect" class="btn z-btn-social" style="background-color: #0077B5">
        &times; <span class="z-icon z-icon-linkedin"></span> {_ Disconnect from LinkedIn _}
    </a>
    {% wire id=#lnkddis
            action={confirm title=_"Disconnect from LinkedIn"
                            text=_"Do you want to disconnect your LinkedIn account?"
                            ok=_"Disconnect"
                            action={auth_disconnect id=m.acl.user type="linkedin"}
                    }
    %}
{% else %}
    <a href="{% url linkedin_authorize is_connect=is_connect %}"
       class="btn z-btn-social"
       style="background-color: #0077B5"
       data-onclick-topic="model/window/post/open"
    >
       <span class="z-icon z-icon-linkedin"></span>
        {% if is_connect %}{_ Connect with LinkedIn _}
        {% else %}{_ Log in with LinkedIn _}{% endif %}
    </a>
{% endif %}
